<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
    <link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="../../css/admin.css">
    <link rel="stylesheet" type="text/css" href="../../themes/icon.css">
    <script type="text/javascript" src="../../js/jquery.min.js"></script>
    <script type="text/javascript" src="../../js/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="../../js/easyui-lang-zh_CN.js" ></script>
    <script type="text/javascript" src="../../js/common.js"></script>
    <script type="text/javascript" src="../../js/user.js"></script>
</head>
<body>
 <form id="resetPass2" method="post"  style="text-align: center;">
        <div class="reset first">
            <label>用 户 名：</label>
            <input name="username" id="username" class="easyui-validatebox" readonly=true>
        </div>
        <div class="reset">
            <label>修改密码：</label>
            <input id="password" name="password" type="password" validType="length[4,32]" class="easyui-validatebox" required="true" value=""/>
        </div>
        <div class="reset">
            <label>确认密码：</label>
             <input type="password" name="repassword" id="repassword" required="true" class="easyui-validatebox"  validType="equalTo['#password']" invalidMessage="两次输入密码不匹配"/>
        </div>
    </form>
    <script type="text/javascript">
	$(function(){
       var row2 = $('#dg').datagrid('getSelected');
          if(row2){
              $('#username').val(row2.username);
          }
	});
</script>
<style type="text/css">
	.reset{
		height:30px;
		line-height:30px;
	}
	.first{
		margin-top:20px;
	}
</style>
</body>
</html>